home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1812 / 1812.xpi / chrome / colt.jar / content / options.xul < prev   
Extensible Markup Language  |  2009-08-13  |  3KB  |  54 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://colt/content/options.css" type="text/css"?>
  6.  
  7. <!DOCTYPE dialog SYSTEM "chrome://colt/locale/colt.dtd" >
  8.  
  9. <dialog id="CLT-Options" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.         buttons="accept, cancel" orient="vertical" ondialogaccept="objCoLTOptions.SaveOptions()"
  11.         onload="objCoLTOptions.LoadOptions()" title="&colt.options.title;">
  12.  
  13.     <script type="application/x-javascript" src="chrome://colt/content/colt.js" />
  14.     <script type="application/x-javascript" src="chrome://colt/content/options.js" />
  15.  
  16.     <stringbundleset id="stringbundleset">
  17.         <stringbundle id="CLT-String-Bundle" src="chrome://colt/locale/colt.properties"/>
  18.     </stringbundleset>
  19.  
  20.     <groupbox>
  21.         <caption label="&colt.options.group.toplevel;" />
  22.         <checkbox id="CLT-Opt-DisplayCopyText" label="&colt.options.displaycopytext;" />
  23.         <checkbox id="CLT-Opt-DisplayCopyBoth" label="&colt.options.displaycopybothmenu;" oncommand="objCoLTOptions.UpdateSubmenuControls()" />
  24.         <checkbox id="CLT-Opt-DisplayCopyPage" label="&colt.options.displaycopypagemenu;" oncommand="objCoLTOptions.UpdateSubmenuControls()" />
  25.     </groupbox>
  26.  
  27.     <groupbox>
  28.         <caption label="&colt.options.group.customformats;" />
  29.         <hbox align="top">
  30.             <listbox id="CLT-Opt-Custom-Format-List" flex="1" rows="10" onselect="objCoLTOptions.OnListBoxSelected()">
  31.                 <listhead>
  32.                     <listheader label="&colt.options.header.label;" />
  33.                     <listheader label="&colt.options.header.format;" />
  34.                 </listhead>
  35.                 <listcols>
  36.                     <listcol flex="1"/>
  37.                     <listcol flex="2"/>
  38.                 </listcols>
  39.             </listbox>
  40.             <vbox>
  41.                 <button id="CLT-Opt-Move-Format-Up" label="&colt.options.button.moveup;" oncommand="objCoLTOptions.OnMoveUp()" />
  42.                 <button id="CLT-Opt-Move-Format-Down" label="&colt.options.button.movedown;" oncommand="objCoLTOptions.OnMoveDown()" />
  43.             </vbox>
  44.         </hbox>
  45.         <hbox>
  46.             <button id="CLT-Opt-Add-Format" label="&colt.options.button.addformat;" oncommand="objCoLTOptions.OnAddCustomFormat()" />
  47.             <button id="CLT-Opt-Edit-Format" label="&colt.options.button.editformat;" oncommand="objCoLTOptions.OnEditCustomFormat()" />
  48.             <button id="CLT-Opt-Remove-Format" label="&colt.options.button.removeformat;" oncommand="objCoLTOptions.OnRemoveCustomFormat()" />
  49.             <separator flex="1" />
  50.             <button id="CLT-Opt-Add-Separator" label="&colt.options.button.newseparator;" oncommand="objCoLTOptions.OnAddSeparator()"/>
  51.         </hbox>
  52.     </groupbox>
  53. </dialog>
  54.